<template>
    <div class="button-container">
        <el-button type="primary" size="small" plain>居左按钮</el-button>
        <div class="right-button">
            <el-button type="success" size="small" plain>居右按钮</el-button>
        </div>
    </div>
</template>

<style scoped>
.button-container {
    display: flex;
    justify-content: space-between;
}
.right-button {
    margin-left: auto;
}
</style>